package com.shujia.dim

import com.shujia.common.util.SparkTool
import org.apache.spark.sql.SparkSession

object DIMadminCode extends SparkTool{
  override def run(spark: SparkSession): Unit = {

    /**
      * 读取ods行政区配置表
      *
      */

    spark
      .sql(
        """
          |insert overwrite table dim.dim_admincode
          |select * from ods.ods_admincode
          |
        """.stripMargin)

  }
}
